package com.csu.tingtian.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("legalfarm")
public class LegalFarm {
    @TableId("farmName")
    private String farmName = "";

    @TableField("userName")
    private String userName = "";

    @TableField("farmCertificateNum")
    private int farmCertificateNum;

    @TableField("farmTotalArea")
    private int farmTotalArea;

    @TableField("farmFreeArea")
    private int farmFreeArea;

    @TableField("farmAddress")
    private String farmAddress = "";

    @TableField("isRent")
    private int isRent = 0;
}
